﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Antioch.Base
{
    //[Jemgine.Engine.Component("Scripts")]
    //public class NewGame : Jemgine.Engine.ScriptComponent
    //{
    //    public String MapName { get; set; }
    //    public String SpawnPoint { get; set; }

    //    protected override IEnumerator<int> Execute(Jemgine.Engine.ScriptInstance _instance)
    //    {
    //        GameStateModule GSM = Me.World.GetModule<GameStateModule>();
    //        if (GSM == null) yield break;

    //        GSM.AutosaveEnabled = true;
    //        GSM.BeginChangeMap(MapName, SpawnPoint);
			
			
    //        yield break;
    //    }
    //}
}
